<?php
	if($this->{0}>0)
	{ 
		$format=$this->{1}?$this->{1}:"d.m.Y";
		echo date($format,$this->{0});
	}
	else
	{
		
	} 
?>